//
//  HomeModel.h
//  BaseProject
//
//  Created by 王洋 on 2021/3/9.
//  Copyright © 2021 王洋. All rights reserved.
//

#import "HomeHeadModel.h"
#import "HomeADItemModel.h"
#import "CommonPackageModel.h"
#import "HomeFlowSegmentModel.h"
#import "ProClassificationModel.h"

#import "HomeFlowBannerCell.h"
#import "HomeFlowServiceCatCell.h"
#import "HomeFlowServiceCatCell_style2.h"
#import "HomeFlowStoreCatCell.h"
#import "HomeFlowStoreCatCell_style2.h"
#import "HomeFlowBannerTopicCell.h"
#import "HomeFlowNewFreeProCell.h"
#import "HomeFlowSEHeadCell.h"
#import "HomeFlowStrictElectionStoreCell.h"
#import "HomeSegTitleCell.h"


#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, HomeFlow_normalSection_Cell) {
    //banner
    HomeFlow_NormalSection_Cell_banner,
    //服务分类
    HomeFlow_NormalSection_Cell_serviceCat,
    //商家分类
    HomeFlow_NormalSection_Cell_storeCat,
    //严选商家
    HomeFlow_StrictElection_Cell_tag,

    HomeFlow_StrictElection_Cell_big,
    
//    HomeFlow_StrictElection_Cell_small,
    
    HomeFlow_Advertisement_image,
};

typedef NS_ENUM(NSInteger, HomeFlow_sectionType) {
    //banner
    HomeFlow_section_normal,
    //推荐
    HomeFlow_section_recommand,
};


typedef NS_ENUM(NSInteger, HomeFlow_itemType) {
    //banner
    HomeFlow_itemType_bigBanner    =4,
    //栅格
    HomeFlow_itemType_gird         =9,
    //组合广告
    HomeFlow_itemType_mixGird      =50,
    //icon
    HomeFlow_itemType_icon         =6,
    //组合icon
    HomeFlow_itemType_mixIcon      =51,
    //标题
    HomeFlow_itemType_title        =7,
    //严选商家
    HomeFlow_itemType_YXStore      =13,
    //小banner
    HomeFlow_itemType_xBanner      =8,
    //新人免单
    HomeFlow_itemType_newFree      =45,
    //新栅格
    HomeFlow_itemType_newGird      =48,
};

@interface HomeModel : NSObject

@property (nonatomic, assign) CGFloat recommandHeight;
@property (nonatomic, assign) CGFloat scrollStopHeight;

@property (nonatomic, strong) HomeHeadModel *head;

@property (nonatomic, strong) NSMutableArray<HomeADItemModel *>*adDataArray;

@property (nonatomic, strong) NSMutableArray<HomeADItemEventModel *>*sysAdvEvent;

@property (nonatomic, strong) NSMutableArray <CommonPackageModel *> *freeNewProArray;

@property (nonatomic, strong) NSMutableArray<HomeFlowSegmentModel *>*segDataArray;

@property (nonatomic, strong) NSMutableArray<ProClassificationModel *>*classesArray;
@end

NS_ASSUME_NONNULL_END
